package cn.tom.entity;


import cn.tom.service.MyExcelCollection;
import cn.tom.service.MyExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ExportVo {
    private  int id;
    @MyExcelProperty(name = "后台系统", index = 1)
    private String name1;
    @MyExcelProperty(name = "类别", index = 2)
    private String category;
    @MyExcelProperty(name = "后台子模块", index = 3)
    private String name2;
    @MyExcelCollection(name = "组员信息")
    private List<ProjectGroupExcelVO> steps;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName1() {
        return name1;
    }

    public void setName1(String name1) {
        this.name1 = name1;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getName2() {
        return name2;
    }

    public void setName2(String name2) {
        this.name2 = name2;
    }

    public List<ProjectGroupExcelVO> getSteps() {
        return steps;
    }

    public void setSteps(List<ProjectGroupExcelVO> steps) {
        this.steps = steps;
    }

    /*
    @Builder
    @Data
    public static class ProjectGroupExcelVO {
        private int id;
        private int p1id;
        @MyExcelProperty(name = "项目阶段")
        private String name;

        @MyExcelProperty(name = "该阶段负责人")
        private String leader;

        @MyExcelProperty(name = "预计开始时间")
        private String startDate;

        @MyExcelProperty(name = "预计完成时间")
        private String estimatedDate;

        @MyExcelProperty(name = "实际开始时间")
        private String startDate2;

        @MyExcelProperty(name = "实际完成时间")
        private String endDate;

        @MyExcelProperty(name = "预计开发")
        private String weekDay;
        @MyExcelProperty(name = "实际开发")
        private String weekDay2;

        @MyExcelProperty(name = "需要整改的问题")
        private String problem;
    }*/


}
